home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2007 June
/
PCWorld_2007-06_cd.bin
/
v cisle
/
pcwsicons
/
pcwSIcons2.exe
/
{app}
/
SaveIcons.vbs
< prev
Wrap
Text File
|
2006-11-21
|
913b
|
31 lines
'==========================================================================
'
' VBScript Source File
'
' NAME: SaveDemo.VBS
'
' AUTHOR: Thorsten Eggeling
' DATE : 02.2001
'
' COMMENT: Sichern der Desktop-Icon-Positionen
'
' n÷tige Anpassungen: IniFileName, [Resolution]
'
'==========================================================================
'IniFileName=Mid(WScript.ScriptFullName, 1, InStr(WScript.ScriptFullName, WScript.ScriptName)-1) & "SRIcons.INI"
Set mySIcon = CreateObject("pcwSIcon.pcwSIcon")
Set WshShell = WScript.CreateObject("WScript.Shell")
Set WshSysEnv = WshShell.Environment("Process")
appDataPath = WshSysEnv("APPDATA")
'aktuelles Layout speichern
MsgBox("Layout speichern.")
With mySIcon
.IniFileName=appDataPath+"\pcwSIcon.ini"
'bei Bedarf lΣ▀t sich hier ein eigener Layout-Name festlegen
'.Resolution="myDesktop"
.Save
End With